Try with cask again
authorJustin Burkett <justin@burkett.cc>
Tue, 22 Jun 2021 02:25:15 +0000 (22:25 -0400)
committerJustin Burkett <justin@burkett.cc>
Tue, 22 Jun 2021 02:33:43 +0000 (22:33 -0400)
.github/workflows/test.yml
Cask

index c2f1491cbb9aa095f85cf6b2de0d6277777d8ac7..5b3078c32663654c23ad0010c87f397775df3dfb 100644 (file)
@@ -25,11 +25,11 @@ jobs:
         version: ${{ matrix.emacs_version }}
 
     - uses: actions/checkout@v2
-    - name: Install cask
-      run: |
-        git clone https://github.com/cask/cask ~/.cask
-        echo "${HOME}/.cask/bin" >> $GITHUB_PATH
+    - name: Install Cask
+      uses: conao3/setup-cask@master
+      with:
+        version: 'snapshot'
     - name: Install dependencies
       run: 'cask install'
     - name: Run tests
-      run: 'emacs -Q -batch -L . -l which-key-tests.el -f ert-run-tests-batch-and-exit'
+      run: 'cask exec emacs -Q -batch -L . -l which-key-tests.el -f ert-run-tests-batch-and-exit'
diff --git a/Cask b/Cask
index 6ff7bbe21dae283fc764f205c6667344798a8dcb..31a9ca10f9dc266a0bef720262b9d5af420ca4ff 100644 (file)
--- a/Cask
+++ b/Cask
@@ -4,5 +4,4 @@
 (package-file "which-key.el")
 
 (development
- (depends-on "evil")
- (depends-on "ert"))
+ (depends-on "evil"))